package com.shzu.mapper;

import com.shzu.pojo.CourseMertiaInfo;
import com.shzu.pojo.CourseMertiaInfoExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface CourseMertiaInfoMapper {
    int countByExample(CourseMertiaInfoExample example);

    int deleteByExample(CourseMertiaInfoExample example);

    int deleteByPrimaryKey(String cid);

    int insert(CourseMertiaInfo record);

    int insertSelective(CourseMertiaInfo record);

    List<CourseMertiaInfo> selectByExample(CourseMertiaInfoExample example);

    CourseMertiaInfo selectByPrimaryKey(String cid);

    int updateByExampleSelective(@Param("record") CourseMertiaInfo record, @Param("example") CourseMertiaInfoExample example);

    int updateByExample(@Param("record") CourseMertiaInfo record, @Param("example") CourseMertiaInfoExample example);

    int updateByPrimaryKeySelective(CourseMertiaInfo record);

    int updateByPrimaryKey(CourseMertiaInfo record);
}